<!DOCTYPE html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
<html class="no-js" lang="en">
    <head>
        <!-- HEAD -->
        <?php include 'template/head_view.php'; ?>
        <!--/ HEAD -->
    </head>
    <body>
        <!-- GOOGLE ANALYTICS -->
        <?php include 'template/google_analytics_view.php'; ?>
        <!--/ GOOGLE ANALYTICS -->
        <div class="wrap">
            <!-- TOP -->
            <?php include 'template/top_admin_view.php'; ?>
            <!--/ TOP -->
            <!-- MAIN -->
            <div class="container">
                <!-- CONTENT -->              
                <div class="row margin-top-max">  
                    <div class="col-md-12">
                        <h1 style="color: #008cba">Página</h1>
                    </div>
                </div>
                <form name="Panel" class="sweetForm" role="form">
                    <div class="row margin-top-max">
                        <div class="col-md-12">
                            <div class="messages"></div> 
                        </div>
                    </div>                     
                    <div class="row">
                        <div class="col-md-8">
                            <!-- JAVASCRIPT AJAX DA MENSAGEM SE ENCONTRA NO ARQUIVO footer_view -->
                            <div class="form-group">
                                <label>Titulo</label> 
                                <input type="text" name="edition[title]" placeholder="Titulo" class="form-control"/>
                                <!-- <small class="error">Informar nome de usuário</small> -->
                            </div>
                            <div class="form-group">
                                <label>Página</label> 
                                <input type="text" name="edition_page[page]" placeholder="Página" class="form-control"/>
                                <!-- <small class="error">Informar nome de usuário</small> -->
                            </div>
                            <div class="form-group">
                                <label>Senha</label> 
                                <textarea class="ckeditor" name="edition_page[edition][text]" id="password" placeholder="Texto" maxlength="5000" class="form-control"></textarea>
                                 <!-- <small class="error">Senha</small> -->
                            </div>
                        </div>
                        <div class="col-md-4">
                            <?php ?>
                            <p>Galeria</p>
                        </div>
                    </div>
                    <div class="row margin-top-max">
                        <div class="large-4 columns">
                            <button type="submit" data-action="edition_page_save" value="edition_page_save" name="action" class="button expanded" data-update="panel" data-complete="showAlert('.messages')">Save</button>
                        </div>
                        <div class="large-4 columns">
                            <button type="reset" data-action="login_admin" value="login_admin" name="action" class="button expanded" data-update="panel">Limpar</button>
                        </div>
                        <div class="large-4 columns">
                            <button type="submit" data-action="edition_page_delete" value="edition_page_delete" name="action" class="button expanded" data-update="panel" data-complete="showAlert('.messages')">Delete</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <!-- MAIN -->
        <!-- FOOTER -->
        <?php include 'template/footer_view.php'; ?>
        <!--/ FOOTER -->
    </body>
</html>